package cn.offcn.service;

import cn.offcn.entity.Btype;
import cn.offcn.utils.OAResult;

import java.util.List;

public interface BtypeService {
    List<Btype> getBtypes();

    OAResult addBtype(Btype bytpe);

    List<Btype> getSmallList(int typeid);

    OAResult deleteSubType(int typeid);

    Btype getBtypeById(int typeid);

    OAResult updateBtypeById(Btype btype);

    OAResult deleteBigBtype(int typeid);
}
